package com.usooft.metaTalent.core.platform.service;

import com.usooft.framework.core.query.Page;
import com.usooft.metaTalent.core.platform.entity.Article;
import com.usooft.metaTalent.core.platform.query.ArticleQuery;
import com.usooft.metaTalent.core.platform.wrapper.ArticleWrapper;
import java.util.List;
import java.util.Optional;
import java.lang.Long;

public interface ArticleService {

    // region 自动生成
    Article get(Long id);

    Optional<Article> find(Long id);

    List<ArticleWrapper> list(ArticleQuery query);

    Page<ArticleWrapper> page(ArticleQuery query);

    int count(ArticleQuery.Filter filter);
    // endregion

}